package com.welsy.newsmgt.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.welsy.newsmgt.event.*;
	import com.welsy.newsmgt.command.*;
		
	
	/**
	 * @version	$Revision: 1.1 $
	 */
	public class MainController extends FrontController
	{
		public function MainController()
		{
			initialiseCommands();
		}
		
		public function initialiseCommands() : void
		{
			addCommand(GetAllEditingNewsEvent.EVENT_GETALLEDITING_NEWS, GetAllEditingNewsCommand)
			addCommand(RemoveNewsEvent.EVENT_REMOVENEWS, RemoveNewsCommand)
		}
	}
}